fix compile errors make echo request