fix error type for bad record field declaration
tag and pprint errors when compiling module