fix bug--output format incorrect