code polishing for .abignore feature.