minor typo fixes; table creation ordering