Fix set_title bug.