provide useful info for invalid path