add maxRows function
modify help comment
fix writing's error
fix conflict