on finish failed fix