Fix for multiple form thumbnail and code clear.