fixed warning
bug fix in StaticItem::print

* nullptr check if init is present was missing