formatted and removed an extra tr tag