fix creation filecheck