fix uniforms