view "if" must cut end