fix issue in calling shimStyling but the element has no template