fix fileAttr
directory listing working