switched PATH_ORIG to the end of use stmt