Fixed market controller bug.