fixed some file attributes