fix window content