working on sanitizing messages