mongodb assosiation bugs fixed