Redefined last operator variable to current operator after math operation