Readdir fixed

-i -a options work
-l BROKEN seg fault