fix bugs:
End request