check for missing directories