fix texture issues