fixing back button linking and route parameters