fixed a couple bugs with storage account connection