Fixed initialization problem with multiple tables.