remove previous messages from client