adding custom set_trace() replacement
one step closer to sort fix