pre_finish