fix #22
fix #13
allow empty map instead of 404 for empty directory, but still don't allow them to be listed in parent dir