fixed mistake merges two samples together