fixed connection leak
unused relation entity fields are now bound to nil instead of being unbound