fix PATH and ENV for screenshoter