Pages now work correctly