Bugfix: content-type for custom_template