some shader system fixes