fix internet permission on sample