ensure salt alignment