some corrections on x and y