tty reduction fix