debug
fix atPath ref