fixed sql dump