Fix encryption mismatch