add obj to ignored directories