Avoid response is nil exception