update some type mismatch