lxml template a fix