Fixed a bug related to ignore list function
Added ignore-list function