fixed a history state bug storing the initial content id on first load