prevent call download on directory