add title for main frame