Fix ratio table html

Add missing td element
Remove unused local variable
Do not use string concat