fix bug of join
add button extract_samples