improved its ability to find the correct line when rotating at intersection