fix for handling boolean (logical) arguments