revert getTrace changes