fixes board detection, signed off by Ithamar R. Adema