changed MessageHelper to use MessageFormat instead of String.format()