change the way to set title