trivial edits to receivethread