fix global path issue