hacks for alert errors