Rewriting alert string