fix invalid syntax due to extra paren