changed some window rules