cleaned up studyID in topnode