Windows terminal bug fix