needed some -d flags