fix the bug of database
remove raise error