fix for cases controller