bugfix if object has no name