fix window view class