make sure that line is straight