update some type error