Fixing directory selection. Complete otherwise.