fix bug when booth of view html and view path added to title