Removing the trace call that causes errors