Fix page number and CORS

Don't know how I forgot about this.