fixed timer code
Merge pull request #67 from unknownbreaker/timer_fix

fixed timer code