bugfix relative path in template