remove some old code from case screen