A small fix on mvc controller.