fix template and title