bug fix texture