Fixing initial page error