remove directory settings