handled hidden dirs with -R and fix missing space in -l