adjust the dimension of record for back compatibility