directory problem solved