map issue in providers