remove unnecessary modification of $to
fix tests such that they'll actually fail without #1