Fix issue w/ pageloader creation