removing leftovers