fixed debug echo error