removed some trace code