Fix setting of title