rename document title
refactoring of input module