fix type checking.
more transform type work.