fix onCreate structure table