Added reset for attempts failed