bug fix no condidate pattern