minor error in RandID class fixed