proxy reverse trace; code fixes