fix query to get owner activity