should not have checked target directory in