remove p from messages