time repeat bug