changed params to params[:alert]