Fix problems with restricted mode