debugging parent path bug