dealing with paths and spaces