fixed bugs with async in request URL