Bug fixed in parsing response header