wrong index - thanks Spuds

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #239 from emanuele45/getTopicInfo

wrong index - thanks Spuds