explicity check for state==true since 'unknown' string is truthy