fixed the bug where putting a negative before parenthesis would give 0