fix the error in database 2