trim unecessary result in view.