fixed error with popwin - bindings