...
main: fix cur_dir & dir-listing prefix problem