Fix directory options