copy/assign uniforms, fixes