Fix ef problem
Move calls to hideAlerts