Added unbind of buffer