cleanup
now selects first sample when loading