fixed exception related to ViewResolver and delete issue