fixed toWindowFitter