fix behaviour after timer has finished