optimized muon validation

same as #2407