Fixed bug with back browser button