Trying to fix the problem of the refresh DB instantlt