reformat table elements
Merge pull request #119 from anilsaldhana/master

see comments