list clearing properly