removed flush, init state structs with 0xFF