Remove variables from samples