bug fix : texture loading