fixed smart sampling section