too many keys in invfold/main