[BUG #8653] improved off() performance