added missing 0 check contition to readSB which was already there for readUB and readFB funcitions