fixed an issue in the objects that was leading to mapping errors