Fixed sql files