bug fix for broken file fields