cut some verbose codes