Fixed the problem with sections created from templates