fixing sammon mode