Fixed decrypt problem