Fixing binding for nested composite templates