remove some needless things and debug_print