minor adjustments in template