added reset if collections are 0