fixed 'case' cause