path bug correction