fix some echofunc bug