change to use common alert;