fix path and env