Fix modcontrol.
Merge pull request #689 from godarklight/fix-modcontrol

Fix mod control.