fix some bugs and add to change titles