Correct table row generation