fix a minor bug in DBSCAN Script