fix incorrect file status.