[bug-fix] getMessage was not working for Weighting and SingleWeight factor.