fix behavior when saving module case management