Fixed attempt reset bug