fried window bugfix