Fix error multi requetes in same function