fix up sample