Fixing Undefined index topics.