resolve namespace bindings