some changes in controllerhelper