distinct objects on api
more precise join condition