PenDemo: remove useless code