a simple patch for hiredis