fixed mouse bug in sample1, added caption