minor changes

* add line break to log message
* stop MAC search loop once a match is found