updated check obj size