fix bug related to database change