path recurrent fix