fix getregisters when not all CTs are configured