added ignoreAttrs to path finder and formattet code