added exclude 0xFF