fix one object_free bug