fixed a bug: not receiving HTTP request