add check for boolean properties