mranderson2007 - 2012-02-21

patch against trunk, fixing the bug