last step for finish