Fix table initialization errors