fix coordinate system