mini bugfix. on page load, firefox sometimes throughs those assertion errors