add recognition debug flag