fix v8 sample