fix to page templates