fix http response when blocked