Joe

Thank you!
I used

T1CON.0 = 0 'disable timer 1
CCP1CON=0 ' disable capture compare module which works with timer 1

and that solved my problem completely!