revert getStackTrace changes