add parenthesis for python3 compatibility