corrected object bug