fixed compiler warning, parenthesis in wrong place