bug fixes to deal with Gordon's example data