FIX: boolean vs. windef