fix PATH, check command