fix validation errors and allow checking requireSpacesInsideParentheses