fix .sql field names