improved JTAG tap flow