fix spacing of file resource mode