Fixing case bug.