fix for window 2