fixed the database configuration on check_dbconfig