move flattenTermsTwo before freezeUserFreezers
change java backend to normal