fixed missing SERVER_PROTOCOL cause error