fix for timer