It was due to ranges. The problem is solved.