fix lofox init failure