make the messages.fetch work