some fixes for automatic/manuel mode, led gadgets