select correct term length