remove unnecessary assert.