#pm message cleanup