Fixed errors in topics_controller