actually fix provider snippet