Fix network restriction for some apps