fix console output for tab complete