temp fix for constraint issue with cases