directory config fix