tweak type map class