Added code to default provider information in if it's missing