no subtype by default also for layouts
added the subtyping for templates