Fixing the issue of the pages not working.