make sample work again