improved PATH setting