Fix double timer bug