added missing PtrSafe