minor tweak in message deleting