fixed issue where MIS files could not be deleted