modified template page for encoding problem