fixed generated file attrs