accommidate for changes to maxmessages