ticket: 5 edit template fixed