added row header, fixed add row bug