coorrected the accept bug
corrected the accept bug