handle bad paths for command line usage