bugs in TMR0 fixed
bugs in TMR0 fixed