fix ignore not working correctly