too many keys in map in invfold/main.