fix SAMODE