fix sample display not clearly