fix the ignore bug