fix output/bug seq