bug fix for shaders