fixed bug with timer listeners