fixes for missing directories