cleanup set uniform
prevent creation of matrices