bugfix overwritting template of a view