fixing the title and preparing for editing template