use reg to check ignore list