small fix for max message size
work on database applications