Fixed a bug where spaces in the mac address would cause problems