worked on missing parameter in case controller