added check for inconsistencies during initialization
fixed bad parenthesis positions
fixed bad parenthesis positions
fixed bad parenthesis positions
update Changes