fix Activity's finish processing