simplify the type map