Remove unnecessary lines from sample container