fixed bug with reading folder with no access