paths bugfix