corrected impossible bug in multiterm