fixing duplicate $PATHES