fix type error format