Attempted fix for .detect problem.