Setting title correctly.