fix the fav button bug