Fixed alert error