paths handling for system