move the row index increase to right after while so it is more accurate
Merge branch 'master' of github.com:deanhiller/playorm