allow configure detector from array