fix broken back button & double history state on start