hotfix check if distinct is available, v.1.11.3