Fix sample and hold