better handling of missing or inaccessible folders