contract window fixes