resolve bug on first call ft_ls