fix sample width