fixed delete issue with MVC