fix vertical line slope