Fix code for Accept and AcceptRun.