fix sample spec