portal configuration reading fixes