clean up: templates, statics