Fix bug what it does not change url with state