Fix list not being cleared