Fixed the bug where app does multiple requests.