moved SALT from config to sma ; code clean