Updated error in shader class.