fix typo that was causing topic variables to leak into global namespace