ignoring \r from firmware when existing