Fixing multiple modes.