dual detection bugfixes