fixed message int/string issue