clean up steering code