fixed timer isssue