#fix useeffect dependency loop