Fix error with salt