Fix Yara warnings