Fix template path