length check adjustment.