adding new changes related to controller error msg