set PATH in the correct format