fixed some dir read files