fixed some syntax issues with new texture