fixing the structure.sql file