Fixed salt errors