add memo
support ignoredirs