fix data object logic boolean