fixed id_prefix bug