fix bug

coordinates of line were flipped x vs y