Fixed bug in output reading config.