fixed no key object bug