Fix detect_syn.