fixed type in encryptanonymize