StAB fix for zero length strings