Fix template to work with path and v0