Stupid movie clips not disappering

Hi, I have a problem with movie clips not disappearing.

In a single frame (frame 5) I have this code:

switch(blah) {
case 1: create empty movie clip, load movie clip
case 2: load another movie clip

then I have a button, gotoAndStop(10), in another layer.
But when i click the button and jumps to frame 10, the movie clip loaded in frame 5 is still there, although the code for loading the movie clips are in a single frame in a separate layer. Maybe I have to close the contaioner in some way?