Fix issue with invalid firmware