switch uniform to bool