Remove debug code

Caused an error when the dv had no default template