Fixed a object definition error