db_utils id_valid fixed