updated for id checks from _config