to get the right title