fix flet bug