fix for -Wparentheses warning