removes none theme code