window fixes