fix sample post bug