fix for issue WindowsAzure/hydra#233