fix bug of texture_char cache