fix timer with backend and aligned with frontend