Fixed bug about relationObject