fix simplyExpressions bug with removing too many |0s