fixed bug in timer