fix history not showing e.g. on reload