Add missing [0]
Fix a bug that octet pages/planes aren't detected