orientation smoothing
bug fix