reject empty paths