i, i-1 problem in the view