compacting associations to avoid the null case and bump version