Fixed salt bug