fix PATH bug