fixed associations-bug