Plugin: fix offset of data content when sending out data

Signed-off-by: Eduardo Silva <edsiper@gmail.com>