clean view and controller