Fixed accept and reject action.