fix missing parentheses
fix sandboxeed checking
Merge pull request #20 from autozimu/fix-parentheses

Fix missing parentheses and sandbox checking