handle node paths