minor SP-direct related bug