ask and alert now return correct information