vtec pressure switch code

i bypassed the vtec pressure switch because my vtec kicks on sometimes and sometimes it doesnt i checked the oil pressure is fine i have a chipped ecu with a basemap for a b16a2 …and i have everythting wired up correctly… my problem is that after resetting the ecu , i will drive and the vtec kicks on again and then it like clicks on and off and then the check engine light comes on again… let me know if somebody has seen or had this before… how do i fix this problem