fix HITAG1. tidy up sync pattern matching.