fixing responding to all messages