update the parameter check
fix line-width NOTE and input order WARNING