Fixed accept bug