fix error when row extra is undefined.