fix table row formatting