texture param bug fixed