potential window size unreliablity fix