bugfix to support on the fly bound associations