[FIX] Check for oog=='YES' instead of 'true'