fix cross join for contacts