fix the read configuration method in the storage class.