Cleaning the unique id generator