handling alert: as first line