fix mantash crash on catting an empty object