Directory problem solved