fixed return to echo error reporting.