finish repeat mode