bugfix: nil .Parent in template