patching path auto