fix object bug