fixed ahead[5]5 bugs (and the like)

turns out the switch/cases did not account for mulops or exprterminals
properly (missing mulops, missing exprterminals)