fix to sendVarBuffers