minor amplitude-sampling fix