fix by Magnus Kasper, see see http://forum.mysensors.org/topic/536/