better coordinate correction