made sure it decodes buffer before sending to client