insert those config fuse at the top of your code..
Code:
        asm
        list w=-207
        cfg1 = _HS_OSC & _MCLR_OFF & _CCP1_RB2 & _BODEN_ON & _PWRTE_ON &_WDT_OFF 
        cfg2 = _LVP_OFF & _DEBUG_OFF & _CP_OFF & _WRT_ENABLE_OFF & _CPD_OFF 
        list w=+207
        __CONFIG cfg1 & cfg2
        endasm