Issues/equal y values

Fixed #1 eqaul y value problem.