check that only one means of specifying topics is passed in