opt finish, cleanup