class library: gui: avoid error when no property is returned