migrate file class fix