Fixes a HID-error in CP2-loop. Also fixes #25.