core: remove redundant parenthesis for arithmetic operations
core: fix wildcard signature processing