little fixes in templates