Fixed sql file