Fixed bug with simple pages crashing