Fix incorrect ex for mainOverrides object syntax

If that behavior is the desired one.
Merge pull request #34 from xixixao/patch-1

Fix incorrect ex for mainOverrides object syntax