fix provider order