Rewrite event tracert to only register once