fix salt, attempt to support IE8