force ::text conversion for weight command