error in calc