bug fixing in providers