retry button bug fix