Fixing database dump error