Fixed success alert bug