couple of changes in the way private keys are create to support IE