Added sanitation when created a new theme

Added sanitation when created a new theme