fix redirect uri bug