repair the bug of response nil