removed expect WindowsError