better objectValue handling