fix error when row extra is undefined.
Merge pull request #1 from Janry/master

fix error when row extra is undefined.