remove echo
handle eror message