fix ff bug on linux host