make thumbnail rebuilder process cleaner