fixed bug in reading output from some models

thanks to Christine Stawitz for help finding this