problem with type