remove private dirname