how to clear a list