Set title properly