fix deleting hasone on file fields