prevent type to be required on non-flow file