fix path and equivalence of functions