Fix `fd` issue in minibuffer