added code to clean version storage