trying to fix texture loading