fixes for directory/process