modify a calculation error for x-axle.