Fix velocity template bug