Added missing parenthesis in extension parsing code