Clearing path functions  on let declarations was missing. Fixed