fixed bug in handling null bulk replies