Patch for permissions fatal error