fixed the errors, dbscan and chengchurch get executed fine now (need to
validate)