debug assocciation query