Fixed bug caused by previous detector base changes