another fix for tristate