fixed directory not found issue