prevent unnecessary resize while bug fix when n_=1