small fix in config file and in pages route