fixed a bug.  no test though, but the test was production run