set correct type info