Name change in browser window not correct