fixed timer null exception.
Merge pull request #741 from anilgooru/dev-branch

fixed timer null exception.