solution for http collect