alert was used to notify error and operation in progress