fixes crash problem caused by provider authority