fix problem error copy database