Fix mac address parser