fix bug in Cpp.scala when block has zero strings