fix bug with case management being disabled