http protocol fix