made data object handling more generic, fixed title handling