Fixes structure.sql file