add some type check