set appropriate title