Fixed entering into unreadable dirs