Fixed the coordinate system