properly dispose of sound and text