I seem to get the table right but I am getting the last columns repeated. Why?