fixed template sample32