fixes for directory paths