bug version of http thread