fixed bugs in sample41.htm