fix window bindings