fix for file fields