fixed problem where several y entries fuckes up the coordinate system