fixed minor bug with error code matching
ignore .DS_Store files