improved sample binary compatibility