fix for files-attr-not-set (lines 40, 41 & 42)