createAlert is fixing