fix bug about inexistented topic