correct sql files