fix invalid non-string/buffer error when sending feedback