Sample cleanup