fixed timer in logic