Fixed redefined from 'tristate' to 'boolean Error