fixed bug where pages would explode
uhh ok