debug type_select