Replace troublesome arithmetic operators