corrected dbscan behaviour