bugfix in configure template