fix for empty alert message