reject directories in a better location