fix encryption device