a type to fields mapping data structure to fix the bug of unsound fields filtering