fix the config errors and add some pages