fix for directories which spaces