fix global install issue