fix improper escape of notifications