make license parsing more robust across states