tweaks to firmware version checking