fix paint sample error + add comments