Fixing bugs in _prepare_obj