Made a hack to fix missing pages bug