fixed bug with REJECT-ing files and dirs by default