update bug in steering algorithm