fixed error message when valid provider and invalid source is specified