fixed logging when calibrating device