fix recursing path