bugfix for empty data objects