Fix directory not found error.