fixing limits which were in the wrong line position because I am dumb sometimes