Fix error when there is no response