format messages, fixed bag func name, fixed username