improvements to alert helpers