fixed part of getStraight