Fix target temp bug
Encoder fixes (not connected, not tested)